package com.ruoyi.base.domain;

import lombok.Data;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

import javax.validation.constraints.NotNull;

/**
 * 合作单位对象 base_organization
 * 
 * @author ruoyi
 * @date 2024-12-20
 */
@Data
public class BaseOrganization extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 自增长主键ID */
    private Long id;

    /** 单位名称 */
    @Excel(name = "单位名称")
    @NotNull
    private String name;

    /** 类别 */
    @Excel(name = "类别", dictType = "organization_type", comboReadDict=true)
    @NotNull
    private String type;

    /** 联系人 */
    @Excel(name = "联系人")
    @NotNull
    private Long linkman;

    /** 联系方式 */
    @Excel(name = "联系方式")
    @NotNull
    private String phone;

    /** 邮箱 */
    @Excel(name = "邮箱")
    private String email;

    /** 地址 */
    @Excel(name = "地址")
    private String address;

    /** 主页 */
    @Excel(name = "主页")
    private String url;

    /** 状态 */
    @Excel(name = "状态", dictType = "common_status", comboReadDict = true)
    @NotNull
    private String status;


    /** 备注 */
    @Excel(name = "备注")
    private String remark;

}
